package com.example.shardingsphere.controller.param;

import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class ShortMessageParam extends UserLoginParam{

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空！")
    private String loginMobile;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空！")
    private String verificationCode;
}
